Optimal. Leaf size=130 \[ \frac{4 a^4 \sqrt{\cos (e+f x)} F\left (\left .\frac{1}{2} (e+f x)\right |2\right ) \sqrt{b \tan (e+f x)}}{21 b^2 f \sqrt{a \sin (e+f x)}}-\frac{2 a^2 (a \sin (e+f x))^{3/2}}{21 b f \sqrt{b \tan (e+f x)}}+\frac{2 (a \sin (e+f x))^{7/2}}{7 b f \sqrt{b \tan (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.167287, antiderivative size = 130, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.16, Rules used = {2596, 2598, 2601, 2641} \[ \frac{4 a^4 \sqrt{\cos (e+f x)} F\left (\left .\frac{1}{2} (e+f x)\right |2\right ) \sqrt{b \tan (e+f x)}}{21 b^2 f \sqrt{a \sin (e+f x)}}-\frac{2 a^2 (a \sin (e+f x))^{3/2}}{21 b f \sqrt{b \tan (e+f x)}}+\frac{2 (a \sin (e+f x))^{7/2}}{7 b f \sqrt{b \tan (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2596
Rule 2598
Rule 2601
Rule 2641
Rubi steps
\begin{align*} \int \frac{(a \sin (e+f x))^{7/2}}{(b \tan (e+f x))^{3/2}} \, dx &=\frac{2 (a \sin (e+f x))^{7/2}}{7 b f \sqrt{b \tan (e+f x)}}+\frac{a^2 \int (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)} \, dx}{7 b^2}\\ &=-\frac{2 a^2 (a \sin (e+f x))^{3/2}}{21 b f \sqrt{b \tan (e+f x)}}+\frac{2 (a \sin (e+f x))^{7/2}}{7 b f \sqrt{b \tan (e+f x)}}+\frac{\left (2 a^4\right ) \int \frac{\sqrt{b \tan (e+f x)}}{\sqrt{a \sin (e+f x)}} \, dx}{21 b^2}\\ &=-\frac{2 a^2 (a \sin (e+f x))^{3/2}}{21 b f \sqrt{b \tan (e+f x)}}+\frac{2 (a \sin (e+f x))^{7/2}}{7 b f \sqrt{b \tan (e+f x)}}+\frac{\left (2 a^4 \sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)}\right ) \int \frac{1}{\sqrt{\cos (e+f x)}} \, dx}{21 b^2 \sqrt{a \sin (e+f x)}}\\ &=-\frac{2 a^2 (a \sin (e+f x))^{3/2}}{21 b f \sqrt{b \tan (e+f x)}}+\frac{2 (a \sin (e+f x))^{7/2}}{7 b f \sqrt{b \tan (e+f x)}}+\frac{4 a^4 \sqrt{\cos (e+f x)} F\left (\left .\frac{1}{2} (e+f x)\right |2\right ) \sqrt{b \tan (e+f x)}}{21 b^2 f \sqrt{a \sin (e+f x)}}\\ \end{align*}
Mathematica [A] time = 0.354352, size = 97, normalized size = 0.75 \[ \frac{a^3 \sqrt{a \sin (e+f x)} \left ((5 \sin (e+f x)-3 \sin (3 (e+f x))) \sqrt [4]{\cos ^2(e+f x)}+8 F\left (\left .\frac{1}{2} \sin ^{-1}(\sin (e+f x))\right |2\right )\right )}{42 b f \sqrt [4]{\cos ^2(e+f x)} \sqrt{b \tan (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.179, size = 161, normalized size = 1.2 \begin{align*} -{\frac{2}{21\,f \left ( \cos \left ( fx+e \right ) -1 \right ) \sin \left ( fx+e \right ) \left ( \cos \left ( fx+e \right ) \right ) ^{2}} \left ( 2\,i\sqrt{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( fx+e \right ) }{\cos \left ( fx+e \right ) +1}}}{\it EllipticF} \left ({\frac{i \left ( \cos \left ( fx+e \right ) -1 \right ) }{\sin \left ( fx+e \right ) }},i \right ) \sin \left ( fx+e \right ) +3\, \left ( \cos \left ( fx+e \right ) \right ) ^{4}-3\, \left ( \cos \left ( fx+e \right ) \right ) ^{3}-2\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}+2\,\cos \left ( fx+e \right ) \right ) \left ( a\sin \left ( fx+e \right ) \right ) ^{{\frac{7}{2}}} \left ({\frac{b\sin \left ( fx+e \right ) }{\cos \left ( fx+e \right ) }} \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a \sin \left (f x + e\right )\right )^{\frac{7}{2}}}{\left (b \tan \left (f x + e\right )\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{{\left (a^{3} \cos \left (f x + e\right )^{2} - a^{3}\right )} \sqrt{a \sin \left (f x + e\right )} \sqrt{b \tan \left (f x + e\right )} \sin \left (f x + e\right )}{b^{2} \tan \left (f x + e\right )^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a \sin \left (f x + e\right )\right )^{\frac{7}{2}}}{\left (b \tan \left (f x + e\right )\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]